<!DOCTYPE html>
<html>
<head lang="en">
  <meta charset="UTF-8">
  <title></title>
</head>
<body>

<input type="text">
<p>你输入的内容是:<span></span></p>
<script type="text/javascript" src="../../js/jquery/jquery-1.11.1.js"></script>
<script type="text/javascript">
    $(function () {
        $('input').keyup(function () {
            var value = this.value;
            $('span').html(value);
        })
    })
</script>
</body>
</html>